/*
* 命名空间: Project.Model
*
* 功 能： T_ProjectVisa实体类
*
* 类 名： T_ProjectVisaEntity
*
* Version   变更日期            负责人     变更内容
* ─────────────────────────────────────────────────
* V1.0.1    2020/02/02 14:50:40 罗维     创建
*
* Copyright (c) 2019 Lir Corporation. All rights reserved.
*/

namespace Project.Model
{
    using System;
    using Tool.Model;

    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    [DBTableInfo(TableName = "T_ProjectVisa")]
    public class T_ProjectVisaEntity
    {

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 20,DataLength = 10,DecimalDigits = 0,ColumnName = "ID",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "ProjectNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? ProjectNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "ProjectName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ProjectName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "VisaNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string VisaNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1000,DataLength = 1000,DecimalDigits = 0,ColumnName = "VisaConent",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string VisaConent
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "VisaMoney",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal? VisaMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "SureMoney",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal? SureMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1,DataLength = 3,DecimalDigits = 0,ColumnName = "VT",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public byte? VT
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "VTName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string VTName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "SGR",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public string SGR
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "ZLR",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ZLR
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "JSR",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string JSR
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "AQR",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string AQR
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "XMR",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string XMR
        {
            get; set;
        }


        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 2000, DataLength = 1000, DecimalDigits = 0, ColumnName = "VisaImage", Required = false, DefaultValue = "", IsPrimarykey = false)]
        public byte[] VisaImage
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 500,DataLength = 500,DecimalDigits = 0,ColumnName = "Descrption",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Descrption
        {
            get; set;
        }
    }
}
